package com.xhj.sportsnews.bean;

/**
 * Created by XHJ on 2016/12/17.
 */
public class Content {


    /**
     * contest_id : 19352
     * topic_id : 4350
     * create_time : Sat Dec 17 10:53:19 +0800 2016
     * editor : 李超
     * contest : {"contest_id":19352,"target_id":9954999,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":177,"home_scores":122,"away_team":140,"away_scores":100,"start_time":"Sat Dec 17 09:00:00 +0800 2016","status":-1,"settle":27,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"a_t":{"t_id":140,"name":"鹈鹕","logo":"5539.png"},"settle_statu":0,"ext_flag":0,"room_id":5836,"init_count":0}
     * contest_type : 1
     * type : 0
     * link :
     * select_flag : false
     */

    private int contest_id;
    private String create_time;
    private String editor;
    private ContestBean contest;

    public int getContest_id() {
        return contest_id;
    }

    public void setContest_id(int contest_id) {
        this.contest_id = contest_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public ContestBean getContest() {
        return contest;
    }

    public void setContest(ContestBean contest) {
        this.contest = contest;
    }

    public static class ContestBean {
        /**
         * contest_id : 19352
         * target_id : 9954999
         * cup_id : 132
         * cup_name : NBA
         * color : #230033
         * contest_type : 1
         * home_team : 177
         * home_scores : 122
         * away_team : 140
         * away_scores : 100
         * start_time : Sat Dec 17 09:00:00 +0800 2016
         * status : -1
         * settle : 27
         * odds_type : 27
         * level : 1
         * bet_count : 1
         * lock_flag : false
         * belong_five : true
         * longbi : false
         * h_t : {"t_id":177,"name":"火箭","logo":"3412.png"}
         * a_t : {"t_id":140,"name":"鹈鹕","logo":"5539.png"}
         * settle_statu : 0
         * ext_flag : 0
         * room_id : 5836
         * init_count : 0
         */

        private int contest_id;
        private String cup_name;
        private String color;
        private int home_scores;
        private int away_scores;
        private String start_time;
        private boolean lock_flag;
        private HTBean h_t;
        private ATBean a_t;

        public int getContest_id() {
            return contest_id;
        }

        public void setContest_id(int contest_id) {
            this.contest_id = contest_id;
        }

        public String getCup_name() {
            return cup_name;
        }

        public void setCup_name(String cup_name) {
            this.cup_name = cup_name;
        }

        public String getColor() {
            return color;
        }

        public void setColor(String color) {
            this.color = color;
        }

        public int getHome_scores() {
            return home_scores;
        }

        public void setHome_scores(int home_scores) {
            this.home_scores = home_scores;
        }

        public int getAway_scores() {
            return away_scores;
        }

        public void setAway_scores(int away_scores) {
            this.away_scores = away_scores;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public boolean isLock_flag() {
            return lock_flag;
        }

        public void setLock_flag(boolean lock_flag) {
            this.lock_flag = lock_flag;
        }

        public HTBean getH_t() {
            return h_t;
        }

        public void setH_t(HTBean h_t) {
            this.h_t = h_t;
        }

        public ATBean getA_t() {
            return a_t;
        }

        public void setA_t(ATBean a_t) {
            this.a_t = a_t;
        }

        public static class HTBean {
            /**
             * t_id : 177
             * name : 火箭
             * logo : 3412.png
             */

            private String t_id;
            private String name;
            private String logo;

            public String getT_id() {
                return t_id;
            }

            public void setT_id(String t_id) {
                this.t_id = t_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLogo() {
                return "http://roi.skst.cn/logo/" + logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }
        }

        public static class ATBean {
            /**
             * t_id : 140
             * name : 鹈鹕
             * logo : 5539.png
             */

            private String t_id;
            private String name;
            private String logo;

            public String getT_id() {
                return t_id;
            }

            public void setT_id(String t_id) {
                this.t_id = t_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLogo() {
                return "http://roi.skst.cn/logo/" + logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }
        }
    }
}
